package com.googlecode.yoohoo.xmppcore.protocol.stanza.error;

import com.googlecode.yoohoo.xmppcore.protocol.XmlLangText;

public class ServiceUnavailable extends StanzaError {
	public ServiceUnavailable() {
		this(null);
	}
	
	public ServiceUnavailable(String text) {
		this(text, null);
	}
	
	public ServiceUnavailable(String text, String xmlLang) {
		super(ErrorType.MODIFY, "service-unavailable", text == null ? null : new XmlLangText(text, xmlLang));
	}
}
